{% extends 'base.html' %}
{% block title %}
    <title>新闻详情</title>
{% endblock %}

{% block container %}
    <!--主体-->
    <header class="wy-header">
      <div class="wy-header-icon-back"><span></span></div>
      <div class="wy-header-title">新闻详情{{ constants.LOGIN_SESSION_ID }}</div>
    </header>
    <div class="weui-content">
      <article class="weui-article">
        <h1>{{ new_obj.title }}</h1>
        <h3 class="wy-news-time">{{ new_obj.created_at | date }} 浏览次数：{{new_obj.view_count }}</h3>
        <section class="wy-news-info">
          <p>
            {{ new_obj.content|safe }}
          </p>
        </section>
      </article>
    </div>
{% endblock %}

{% block footer %}
<script type="text/javascript" src="/static/js/jquery.Spinner.js"></script>
{% endblock %}
